<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title>发送邮件 - Gweb</title>

		<meta name="description" content="Mailbox with some customizations as described in docs" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		
		<!-- ico -->
	  	<link th:href="@{/static/web/img/logos/logo.ico}" rel="shortcut icon" type="image/x-icon">

		<!-- bootstrap & fontawesome -->
		<link rel="stylesheet" th:href="@{/static/admin/css/bootstrap/bootstrap.min.css}" />
		<link rel="stylesheet" th:href="@{/static/admin/font-awesome/4.5.0/css/font-awesome.min.css}" />

		<!-- page specific plugin styles -->
		<link rel="stylesheet" th:href="@{/static/admin/css/jquery.gritter.min.css}" />

		<!-- text fonts -->
		<link rel="stylesheet" th:href="@{/static/admin/css/fonts.googleapis.com.css}" />

		<!-- ace styles -->
		<link rel="stylesheet" th:href="@{/static/admin/css/ace/ace.min.css}" class="ace-main-stylesheet" id="main-ace-style" />

		<!--[if lte IE 9]>
			<link rel="stylesheet" th:href="@{/static/admin/css/ace/ace-part2.min.css}" class="ace-main-stylesheet" />
		<![endif]-->
		<link rel="stylesheet" th:href="@{/static/admin/css/ace/ace-skins.min.css}" />
		<link rel="stylesheet" th:href="@{/static/admin/css/ace/ace-rtl.min.css}" />

		<!--[if lte IE 9]>
		  <link rel="stylesheet" th:href="@{/static/admin/css/ace/ace-ie.min.css}" />
		<![endif]-->

		<!-- inline styles related to this page -->

		<!-- ace settings handler -->
		<script th:src="@{/static/admin/js/ace/ace-extra.min.js}"></script>

		<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

		<!--[if lte IE 8]>
		<script th:src="@{/static/admin/js/plugins/html5shiv.min.js}"></script>
		<script th:src="@{/static/admin/js/plugins/respond.min.js}"></script>
		<![endif]-->
	</head>

	<body class="no-skin">
		
		<!-- 公共页面的头部 -->
	  	<div th:insert="admin/common/header :: header"></div>
		
		<div class="main-container ace-save-state" id="main-container">
			<script type="text/javascript">
				try{ace.settings.loadState('main-container')}catch(e){}
			</script>

			<!-- 公共页面的侧边栏 -->
			<div th:replace="admin/common/sidebar :: sidebar"></div>
			
			<div class="main-content">
				<div class="main-content-inner">
					<div class="breadcrumbs ace-save-state" id="breadcrumbs">
						<ul class="breadcrumb">
							<li>
								<i class="ace-icon fa fa-home home-icon"></i>
								<a href="/admin/index">主页</a>
							</li>
							<li>使用工具</li>
							<li>发送邮件</li>
						</ul><!-- /.breadcrumb -->

						<!-- 公共页面的搜索框 -->
						<div th:replace="admin/common/search :: search"></div>
						
					</div>

					<div class="page-content">

						<!-- 引入公共的settings-container -->
						<div th:replace="admin/common/settingsContainer :: settings-container"></div>
		
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								<div class="row">
									<div class="col-xs-12">
										<div class="tabbable">
											<!-- tab按钮 -->
											<ul id="inbox-tabs" class="inbox-tabs nav nav-tabs padding-16 tab-size-bigger tab-space-1">
												<li class="active">
													<a data-toggle="tab" href="#sent" data-target="sent">
														<i class="orange ace-icon fa fa-location-arrow bigger-130"></i>
														<span class="bigger-110">已发送</span>
													</a>
												</li>
												<li>
													<a data-toggle="tab" href="#write" data-target="write">
														<i class="purple ace-icon fa fa-envelope bigger-130"></i>
														<span class="bigger-110">写邮件</span>
													</a>
												</li><!-- /.li-new-mail -->
												<li>
													<a data-toggle="tab" href="#inbox" data-target="inbox">
														<i class="blue ace-icon fa fa-inbox bigger-130"></i>
														<span class="bigger-110">收件箱</span>
													</a>
												</li>
												<!-- <li>
													<a data-toggle="tab" href="#draft" data-target="draft">
														<i class="green ace-icon fa fa-pencil bigger-130"></i>
														<span class="bigger-110">草稿箱</span>
													</a>
												</li> -->
											</ul>

											<div class="tab-content no-border no-padding">
												<div id="sent" class="tab-pane in active">
													<div class="message-container">
														<!-- 在当前标签页列表下显示详情信息时的操作栏 -->
														<div id="id-message-list-navbar" class="message-navbar clearfix">
															<!-- 默认的头部导航 -->
															<div>
																<div class="messagebar-item-left">
																	<label class="inline middle">
																		<input type="checkbox" id="id-toggle-all" class="ace" />
																		<span class="lbl"></span>
																	</label>
																	&nbsp;
																	<div class="inline position-relative">
																		<a href="#" data-toggle="dropdown" class="dropdown-toggle">
																			<i class="ace-icon fa fa-caret-down bigger-125 middle"></i>
																		</a>

																		<ul class="dropdown-menu dropdown-lighter dropdown-100">
																			<li>
																				<a id="id-select-message-all" href="#">全选</a>
																			</li>
																			<li>
																				<a id="id-select-message-none" href="#">取消</a>
																			</li>
																			<li class="divider"></li>
																			<li>
																				<a id="id-select-message-unread" href="#">未读</a>
																			</li>
																			<li>
																				<a id="id-select-message-read" href="#">已读</a>
																			</li>
																		</ul>
																	</div>
																</div>

																<div class="messagebar-item-right">
																	<div class="inline position-relative">
																		<a href="#" data-toggle="dropdown" class="dropdown-toggle">
																			排序 &nbsp;
																			<i class="ace-icon fa fa-caret-down bigger-125"></i>
																		</a>
																		<ul class="dropdown-menu dropdown-lighter dropdown-menu-right dropdown-100">
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-check green"></i>
																					时间
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-check invisible"></i>
																					发件人
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-check invisible"></i>
																					主题
																				</a>
																			</li>
																		</ul>
																	</div>
																</div>

																<div class="nav-search minimized">
																	<form class="form-search">
																		<span class="input-icon">
																			<input type="text" autocomplete="off" class="input-small nav-search-input" placeholder="请输入收件人邮箱" />
																			<i class="ace-icon fa fa-search nav-search-icon"></i>
																		</span>
																	</form>
																</div>
															</div>
															
															<!-- 提示信息以及邮件被选中时显示的操作按钮 -->
															<div class="message-bar">
																<div class="message-infobar" id="id-message-infobar">
																	<span class="blue bigger-150">发件箱</span>
																	<!-- <span class="grey bigger-110">(2封未读)</span> -->
																</div>

																<!-- 操作栏 -->
																<div class="message-toolbar hide" th:fragment="operation-toolbar">
																	<div class="inline position-relative align-left">
																		<button type="button" class="btn-white btn-primary btn btn-xs dropdown-toggle" data-toggle="dropdown">
																			<i class="ace-icon fa fa-bars bigger-110 red"></i>
																			<span class="bigger-110">操 &nbsp;作</span>
																			<i class="ace-icon fa fa-caret-down icon-on-right"></i>
																		</button>

																		<ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-mail-reply blue"></i>&nbsp; 回复
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-mail-forward green"></i>&nbsp; 转发
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-folder-open orange"></i>&nbsp; 保存
																				</a>
																			</li>
																			<li class="divider"></li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-eye blue"></i>&nbsp; 标为已读
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-eye-slash green"></i>&nbsp; 标为未读
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-flag-o red"></i>&nbsp; 标记
																				</a>
																			</li>
																			<li class="divider"></li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-trash-o red bigger-110"></i>&nbsp; 删除
																				</a>
																			</li>
																		</ul>
																	</div>

																	<div class="inline position-relative align-left">
																		<button type="button" class="btn-white btn-primary btn btn-xs dropdown-toggle" data-toggle="dropdown">
																			<i class="ace-icon fa fa-folder-o bigger-110 blue"></i>
																			<span class="bigger-110">分 &nbsp; 组</span>

																			<i class="ace-icon fa fa-caret-down icon-on-right"></i>
																		</button>

																		<ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-stop pink2"></i>&nbsp; 普通
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-stop blue"></i>&nbsp; 家庭
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-stop green"></i>&nbsp; 朋友
																				</a>
																			</li>
																			<li>
																				<a href="#">
																					<i class="ace-icon fa fa-stop grey"></i>&nbsp; 工作
																				</a>
																			</li>
																		</ul>
																	</div>

																	<button type="button" class="btn btn-xs btn-white btn-primary">
																		<i class="ace-icon fa fa-trash-o bigger-125 orange"></i>
																		<span class="bigger-110">删 &nbsp;除</span>
																	</button>
																</div>
															</div>
														</div>

														<!-- 重新打开标签页显示详情信息的操作栏 -->
														<div id="id-message-item-navbar" class="hide message-navbar clearfix">
															<div class="message-bar">
																<!-- 由于操作栏内容与上方相同，直接引用即可 -->
																<div th:include="this :: operation-toolbar"></div>
															</div>

															<div>
																<div class="messagebar-item-left">
																	<a href="#" class="btn-back-message-list">
																		<i class="ace-icon fa fa-arrow-left blue bigger-110 middle"></i>
																		<b class="bigger-110 middle">返回</b>
																	</a>
																</div>

																<!-- 右上角显示时间 -->
																<div class="messagebar-item-right">
																	<!-- <i class="ace-icon fa fa-clock-o bigger-110 orange"></i>
																	<span class="grey"></span> -->
																</div>
															</div>
														</div>

														<div id="id-message-new-navbar" class="hide message-navbar clearfix">
															<div class="message-bar">
																<div class="message-toolbar">
																	<button type="button" class="btn btn-xs btn-white btn-primary">
																		<i class="ace-icon fa fa-floppy-o bigger-125"></i>
																		<span class="bigger-110">存为草稿</span>
																	</button>

																	<button type="button" class="btn btn-xs btn-white btn-primary">
																		<i class="ace-icon fa fa-times bigger-125 orange2"></i>
																		<span class="bigger-110">丢弃</span>
																	</button>
																</div>
															</div>

															<div>
																<div class="messagebar-item-left">
																	<a href="#" class="btn-back-message-list">
																		<i class="ace-icon fa fa-arrow-left bigger-110 middle blue"></i>
																		<b class="middle bigger-110">返回</b>
																	</a>
																</div>

																<div class="messagebar-item-right">
																	<span class="inline btn-send-message">
																		<button type="button" class="btn btn-sm btn-primary no-border btn-white btn-round" id="send-email-btn">
																			<span class="bigger-110">发送</span>

																			<i class="ace-icon fa fa-arrow-right icon-on-right"></i>
																		</button>
																	</span>
																</div>
															</div>
														</div>

														<!-- 发件箱信息列表 -->
														<div class="message-list-container">
															<div class="message-list" id="message-list">
																<!-- <div class="message-item">
																	<label class="inline">
																		<input type="checkbox" class="ace" />
																		<span class="lbl"></span>
																	</label>

																	<i class="message-star ace-icon fa fa-star orange2"></i>
																	<span class="sender" title="Alex John Red Smith">张三 </span>
																	<span class="time">1:33 pm</span>
																	
																	<span class="attachment">
																		<i class="ace-icon fa fa-paperclip"></i>
																	</span>

																	<span class="summary">
																		<span class="message-flags">
																			<i class="ace-icon fa fa-reply light-grey"></i>
																		</span>
																		<span class="text">
																			这个是主题信息
																		</span>
																	</span>
																</div>

																<div class="message-item message-unread">
																	<label class="inline">
																		<input type="checkbox" class="ace" />
																		<span class="lbl"></span>
																	</label>

																	<i class="message-star ace-icon fa fa-star-o light-grey"></i>
																	<i class="message-star ace-icon fa fa-star orange2"></i>

																	<span class="sender" title="John Doe">
																		李四
																		<span class="light-grey">(4)</span>
																	</span>
																	<span class="time">7:15 pm</span>

																	<span class="attachment">
																		<i class="ace-icon fa fa-paperclip"></i>
																	</span>

																	<span class="summary">
																		<span class="message-flags">
																			<i class="ace-icon fa fa-reply light-grey"></i>
																			<i class="ace-icon fa fa-flag-o light-grey"></i>
																		</span>
																		<span class="badge badge-pink mail-tag"></span>
																		<span class="text">
																			这个是主题信息
																		</span>
																	</span>
																</div> -->
																<!-- 标题 -->
																<div class="message-item">
																	<b class="sender" style="color:#393939;width:30%;">收件人邮箱 </b>
																	<b class="" style="width:50%">邮件主题</b>
																	<b class="time pull-right">发送时间</b>
																</div>
																<!-- 循环输出已发邮件信息 -->
																<div class="message-item" th:each="email,var:${emailList}">
																	<label class="inline">
																		<input type="checkbox" class="ace" />
																		<span class="lbl"></span>
																	</label>

																	<i class="message-star ace-icon fa fa-star-o light-grey"></i>
																	<!-- <i class="message-star ace-icon fa fa-star orange2"></i> -->

																	<span class="hidden" th:text="${email.id}"></span>
																	<span class="sender" style="width:180px;" th:title="${email.toUsername}" th:text="${email.toUsername}"></span>
																	<span class="time" style="width:75px;" th:title="${#dates.format(email.time, 'yyyy-MM-dd hh:mm:ss')}" th:text="${#dates.format(email.time, 'yyyy-MM-dd')}"></span>
																	
																	<span class="attachment" th:if="${email.attachmentIds != null && email.attachmentIds.trim() != ''}">
																		<i class="ace-icon fa fa-paperclip"></i>
																	</span>
																	<span class="hidden attachmentIds" th:text="${email.attachmentIds}"></span>
																	<span class="hidden content" th:text="${email.content}"></span>
																	<span class="summary" style="max-width:600px;">
																		<span class="message-flags">
																			<i class="ace-icon fa fa-reply light-grey"></i>
																			<!-- <i class="ace-icon fa fa-flag-o light-grey"></i> -->
																		</span>
																		<!-- <span class="badge badge-pink mail-tag"></span> -->
																		<span class="text" th:text="${email.subject}" th:title="${email.subject}"></span>
																	</span>
																</div>
																
															</div>
														</div>

														<!-- 尾部导航栏 -->
														<div class="message-footer clearfix">
															<div class="pull-left" th:text="${' 共 ' + count + ' 封邮件 '}"></div>

															<div class="pull-right">
																<div class="inline middle" th:text="${' 第 ' + currentPage + ' 页 / 共 ' + totalPages + ' 页 '}"></div>

																&nbsp; &nbsp;
																<ul class="pagination middle">
																	<!-- 首页 -->																	
																	<li class="disabled" th:if="${currentPage} le 1">
																		<span>
																			<i class="ace-icon fa fa-step-backward middle"></i>
																		</span>
																	</li>
																	<li th:if="${currentPage} gt 1"><!--  class="disabled" -->
																		<a href="/admin/tools/emails/list?pageNum=1">
																			<i class="ace-icon fa fa-step-backward middle"></i>
																		</a>
																	</li>
																	<!-- 前一页 -->
																	<li class="disabled" th:if="${currentPage} le 1">
																		<span>
																			<i class="ace-icon fa fa-caret-left bigger-140 middle"></i>
																		</span>
																	</li>
																	<li th:if="${currentPage} gt 1">
																		<a th:href="@{/admin/tools/emails/list?pageNum=} + ${currentPage - 1}">
																			<i class="ace-icon fa fa-caret-left bigger-140 middle"></i>
																		</a>
																	</li>

																	<!-- 当前页和输入框 -->
																	<li>
																		<span>
																			<input id="page-num-go-to" th:value="${currentPage}" maxlength="5" type="text" onkeydown="goToPage()" />
																		</span>
																	</li>

																	<!-- 后一页 -->
																	<li class="disabled" th:if="${currentPage} ge ${totalPages}">
																		<span>
																			<i class="ace-icon fa fa-caret-right bigger-140 middle"></i>
																		</span>
																	</li>
																	<li th:if="${currentPage} lt ${totalPages}">
																		<a th:href="@{/admin/tools/emails/list?pageNum=} + ${currentPage + 1}">
																			<i class="ace-icon fa fa-caret-right bigger-140 middle"></i>
																		</a>
																	</li>

																	<!-- 尾页 -->
																	<li class="disabled" th:if="${currentPage} ge ${totalPages}">
																		<span>
																			<i class="ace-icon fa fa-step-forward middle"></i>
																		</span>
																	</li>
																	<li th:if="${currentPage} lt ${totalPages}">
																		<a th:href="@{/admin/tools/emails/list?pageNum=} + ${totalPages}">
																			<i class="ace-icon fa fa-step-forward middle"></i>
																		</a>
																	</li>
																</ul>
															</div>
														</div>

														<!-- 进入邮件详情页面的页脚部分 -->
														<div class="hide message-footer message-footer-style2 clearfix">
														</div>
													</div>
												</div>
											</div><!-- /.tab-content -->
										</div><!-- /.tabbable -->
									</div><!-- /.col -->
								</div><!-- /.row -->

								<!-- 写邮件 -->
								<form id="id-message-form" class="hide form-horizontal message-form col-xs-12">
									<div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right" for="form-field-recipient">收件人：</label>

											<div class="col-sm-6 col-xs-12">
												<span class="input-icon block col-xs-12 no-padding">
													<input type="email" class="col-xs-12" name="toUsername" id="form-field-recipient" required placeholder="收件人邮箱，多个请用英文逗号隔开" />
													<i class="ace-icon fa fa-user"></i>
												</span>
											</div>
										</div>

										<div class="hr hr-18 dotted"></div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right" for="form-field-subject">主题：</label>

											<div class="col-sm-6 col-xs-12">
												<div class="input-icon block col-xs-12 no-padding">
													<input maxlength="100" type="text" class="col-xs-12" name="subject" id="form-field-subject" required placeholder="主题（100字以内）" />
													<i class="ace-icon fa fa-comment-o"></i>
												</div>
											</div>
										</div>

										<div class="hr hr-18 dotted"></div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">
												<span class="inline space-24 hidden-480"></span>
												信息：
											</label>

											<div class="col-sm-9">
												<div class="wysiwyg-editor"></div>
											</div>
										</div>

										<div class="hr hr-18 dotted"></div>

										<div class="form-group no-margin-bottom">
											<label class="col-sm-3 control-label no-padding-right">附件：</label>

											<div class="col-sm-9">
												<div id="form-attachments">
													<input type="file" name="attachment[]" class="attachment[]"/>
												</div>
											</div>
										</div>

										<div class="align-right">
											<button id="id-add-attachment" type="button" class="btn btn-sm btn-danger">
												<i class="ace-icon fa fa-paperclip bigger-140"></i>
												添加附件
											</button>
										</div>

										<div class="space"></div>
									</div>
								</form>

								<!-- 邮件详情信息 -->
								<div class="hide message-content" id="id-message-content">
									<div class="message-header clearfix">
										<div class="pull-left">
											<span class="hidden email-id"></span>
											<span class="blue bigger-125 email-subject"> 邮件主题 </span>

											<div class="space-4"></div>

											<i class="ace-icon fa fa-star orange2"></i>

											&nbsp;
											<img class="middle" alt="John's Avatar" th:src="@{/static/admin/images/avatars/avatar.png}" width="32" />
											&nbsp;
											<a href="#" class="sender"></a>

											&nbsp;
											<i class="ace-icon fa fa-clock-o bigger-110 orange middle"></i>
											<span class="time grey"></span>
										</div>

										<div class="pull-right action-buttons">
											<a href="#">
												<i class="ace-icon fa fa-reply green icon-only bigger-130"></i>
											</a>

											<a href="#">
												<i class="ace-icon fa fa-mail-forward blue icon-only bigger-130"></i>
											</a>

											<a href="#">
												<i class="ace-icon fa fa-trash-o red icon-only bigger-130"></i>
											</a>
										</div>
									</div>

									<div class="hr hr-double"></div>

									<!-- 邮件详情 -->
									<div class="message-body" >
										
									</div>

									<div class="hr hr-double"></div>

									<!-- 附件区域 -->
									<div class="message-attachment clearfix">
										<div class="attachment-title">
											<span class="blue bolder bigger-110" id="att-title-text"></span>
											<!-- &nbsp;
											<span class="grey">(2 个文件, 4.5 MB)</span>

											<div class="inline position-relative">
												<a href="#" data-toggle="dropdown" class="dropdown-toggle">
													&nbsp;
													<i class="ace-icon fa fa-caret-down bigger-125 middle"></i>
												</a>

												<ul class="dropdown-menu dropdown-lighter">
													<li>
														<a href="#">以zip格式下载</a>
													</li>

													<li>
														<a href="#">播放幻灯片</a>
													</li>
												</ul>
											</div> -->
										</div>

										&nbsp;
										<!-- 附件列表 -->
										<ul class="attachment-list pull-left list-unstyled">
											<!-- <li>
												<a href="#" class="attached-file">
													<i class="ace-icon fa fa-file-o bigger-110"></i>
													<span class="attached-name">Document.pdf</span>
												</a>

												<span class="action-buttons">
													<a href="#">
														<i class="ace-icon fa fa-download bigger-125 blue"></i>
													</a>

													<a href="#">
														<i class="ace-icon fa fa-trash-o bigger-125 red"></i>
													</a>
												</span>
											</li> -->
										</ul>

										<!-- 附件图片 -->
										<div class="attachment-images pull-right">
											<!-- <div class="vspace-4-sm"></div>

											<div>
												<img width="36" alt="image 4" th:src="@{/static/admin/images/gallery/thumb-4.jpg}" />
												<img width="36" alt="image 3" th:src="@{/static/admin/images/gallery/thumb-3.jpg}" />
												<img width="36" alt="image 2" th:src="@{/static/admin/images/gallery/thumb-2.jpg}" />
												<img width="36" alt="image 1" th:src="@{/static/admin/images/gallery/thumb-1.jpg}" />
											</div> -->
										</div>
									</div>
								</div><!-- /.message-content -->

								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div>
			</div><!-- /.main-content -->

			<!-- 公共页面的尾部 -->
			<div th:replace="admin/common/footer :: footer"></div>

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->
		<script th:src="@{/static/admin/js/jquery/jquery-2.1.4.min.js}"></script>
		<!-- <![endif]-->

		<!--[if IE]>
		<script th:src="@{/static/admin/js/jquery/jquery-1.11.3.min.js}"></script>
		<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script th:src='@{/static/admin/js/jquery/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script th:src="@{/static/admin/js/bootstrap/bootstrap.min.js}"></script>

		<!-- page specific plugin scripts -->
		<script th:src="@{/static/admin/js/bootstrap/bootstrap-tag.min.js}"></script>
		<script th:src="@{/static/admin/js/jquery/jquery.hotkeys.index.min.js}"></script>
		<script th:src="@{/static/admin/js/bootstrap/bootstrap-wysiwyg.min.js}"></script>

		<!-- ace scripts -->
		<script th:src="@{/static/admin/js/ace/ace-elements.min.js}"></script>
		<script th:src="@{/static/admin/js/ace/ace.min.js}"></script>
		
		<!-- Gweb scripts -->
		<script th:src="@{/static/admin/js/jquery/jquery.gritter.min.js}"></script>
		<script type="text/javascript" th:src="@{/static/admin/js/gweb/gweb.js}"></script>
		<script type="text/javascript" th:src="@{/static/admin/js/gweb/emails.js}"></script>

	</body>
</html>
